package com.smart.thirteen;

/**
 * model
 *
 * @author junrui.wang
 * @create 2019/10/21
 */
public class Topic {
    private int id;
    private String topic_title;
    private String user_id;

    public Topic() {
    }

    public Topic(int id, String topic_title, String user_id) {
        this.id = id;
        this.topic_title = topic_title;
        this.user_id = user_id;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTopic_title() {
        return topic_title;
    }

    public void setTopic_title(String topic_title) {
        this.topic_title = topic_title;
    }

    public String getUser_id() {
        return user_id;
    }

    public void setUser_id(String user_id) {
        this.user_id = user_id;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("Topic{");
        sb.append("id=").append(id);
        sb.append(", topic_title='").append(topic_title).append('\'');
        sb.append(", user_id='").append(user_id).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
